package util;

import java.util.MissingResourceException;
import java.util.ResourceBundle;

public class Const 
{
	static private final	ResourceBundle	
			strBundle = ResourceBundle.getBundle( "properties.Str" );
	
	
	static public final	int 
			COLUNA_CPF				= 0,
			COLUNA_NOME				= 1,
			COLUNA_SEXO				= 2,
			COLUNA_DATA_ADMISSAO	= 3;
	
	static	public String getString( String key )
	{
		try
		{
			return( strBundle.getString( key ) );
		}
		catch( MissingResourceException ex )
		{
			return( key );
		}
 	}
}
